<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="es" 
      xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core">

    <body>        
        <ui:composition template="./appDefault.xhtml">      
            <!--Modulo central-->
            <ui:define name="content">
                <h:form>                          
                    <h:panelGrid styleClass="formulario">                          
                        <h:panelGrid columns="2" styleClass="change_pass">  
                            <f:facet name="header">     
                                #{default.pass} 
                                <br/>
                            </f:facet>     
                            <h:graphicImage value="/resources/img/home-icon.png"/>                            
                            <h:panelGroup>
                                <h:panelGrid columns="2">
                                    <h:outputLabel for="user" value="#{default.user}" style="float: left"/>  
                                    <h:inputText id="user" required="true" label="#{msj.user}" style="float: right"/>                                                
                                    <h:outputLabel for="newpass" value="#{default.contrasena}" style="float: left"/>  
                                    <h:inputSecret id="newpass" required="true" label="#{default.contrasena}" style="float: right"/>                                                               
                                    <h:outputLabel for="repeatpass" value="#{default.repeatcontrasena}" style="float: left"/>  
                                    <h:inputSecret id="repeatpass" required="true" label="#{default.repeatcontrasena}" style="float: right"/>                                                                                                                                                               
                                </h:panelGrid>     
                            </h:panelGroup>                                  
                            <f:facet name="footer">                                
                                <h:commandButton id="save" value="#{default.save}" styleClass="botonedit"/>                                                                          
                                <h:commandButton id="cancel" value="#{default.cancel}" styleClass="botonedit"/>                                                                                                      
                            </f:facet>                                                             
                        </h:panelGrid>                                                 
                    </h:panelGrid> 
                </h:form>
            </ui:define>
        </ui:composition>
    </body>
</html>